//
//  WalletView.h
//  dhfsAPP
//
//  Created by Devil on 2017/7/31.
//  Copyright © 2017年 Devil. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HeaderView.h"
#import "RechargeCellView.h"

typedef NS_ENUM(NSUInteger,WalletViewButtonType) {
    WalletViewButtonTypeRecharge = 101,
    WalletViewButtonTypeCurrent,
    WalletViewButtonTypeShut,
    WalletViewButtonTypeFind
};

@protocol WalletViewDelegate <NSObject>

-(void)clickWalletViewBtn:(UIButton *)btn;

-(void)backVC;

-(void)chooseMoney:(UIButton *)btn;

@end

@interface WalletView : UIView<UITableViewDelegate,UITableViewDataSource,HeaderViewDelegate>

@property(weak,nonatomic)id<WalletViewDelegate>walletViewDelegate;

@property(strong,nonatomic)UIButton *lastBtn;

//余额
@property(nonatomic,strong)UILabel *balanceMoney;
//支付金额
@property(strong,nonatomic)UILabel *payMoney;

@property(strong,nonatomic)NSDictionary *payHistoryDic;

-(void)changePayMoney:(NSInteger)tag;

-(void)showRecharView:(BOOL)isShow;

-(void)reloadTableView;

@end
